package service;

import mapper.SysMenusMapper;
import model.dto.SysMenuDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: service.SysMenusServiceImpl
 * @author: Xia
 * @create: 2023-03-13 16:38
 */
@Service
public class SysMenusServiceImpl implements SysMenusService{
    @Autowired
    private SysMenusMapper mapper;
    @Override
    public List<SysMenuDto> getMenusList(Integer roleId) {
        return mapper.getMenusList(roleId);
    }
}
